package com.lapelife.backend.service;

import com.lapelife.backend.common.ResponseResult;
import com.lapelife.backend.model.domain.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lapelife.backend.model.request.UserRequest;

/**
* @author Mir.Lliao
* @description 针对表【sys_user(用户信息表)】的数据库操作Service
* @createDate 2023-04-23 20:08:21
*/
public interface SysUserService extends IService<SysUser> {

    ResponseResult<SysUser> info();

    ResponseResult<String> updateUserInfo(UserRequest user);

    ResponseResult<String> updatePassword(UserRequest user);

    ResponseResult<String> sendCode(String email);

    ResponseResult<String> updatePasswordByCode(UserRequest user);
}
